package com.sibu.yx.promotion.service.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName JwtTokenProperties
 * @Description: TODO
 * @Author yuwenbo@wljs.com
 * @Date 2020-06-05
 * @Version V1.0
 **/
@Data
@ToString
@Component
@ConfigurationProperties(prefix = "jwt.token")
public class JwtTokenProperties {

    private String secret;

    private Long expiration;
}
